package com.ruoyi.common.viewmodel;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自己设计的vo类，发现有些问题不太好解决，除了部分地方还在用，其他地方就改用学之思的viewmodel了
 */
public class QuestionVo extends BaseEntity{
    private Long id;

    /** 题目类型 */
    @Excel(name = "题目类型")
    private Long questionType;

    /** 题目总分 */
    @Excel(name = "题目总分")
    private Long score;

    /** 题目  填空、 题干、解析、答案等信息关联表信息 */
    @Excel(name = "题目  填空、 题干、解析、答案等信息")
    private String content;

    /** 正确答案 */
    @Excel(name = "正确答案")
    private String correct;


    /** 是否删除 */
    private Long deleted;

    @Override
    public String toString() {
        return "QuestionVo{" +
                "id=" + id +
                ", questionType=" + questionType +
                ", score=" + score +
                ", content='" + content + '\'' +
                ", correct='" + correct + '\'' +
                ", deleted=" + deleted +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getQuestionType() {
        return questionType;
    }

    public void setQuestionType(Long questionType) {
        this.questionType = questionType;
    }

    public Long getScore() {
        return score;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCorrect() {
        return correct;
    }

    public void setCorrect(String correct) {
        this.correct = correct;
    }

    public Long getDeleted() {
        return deleted;
    }

    public void setDeleted(Long deleted) {
        this.deleted = deleted;
    }
}
